(() => {
    const saveBtn = document.querySelector('#localSaveBtn')
    const setCookie = (cname, cvalue, exdays) => {
        const d = new Date()
        d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000))
        const expires = "expires=" + d.toUTCString()
        document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"
    }

    saveBtn.click()
    
    setCookie("xp", 10 ** 18, 1000)
    setCookie("money", 10 ** 18, 1000)
    setCookie("legacyPoints", 10 ** 18, 1000)
    location.reload()
})()